﻿using Baik.Interface.Execution;
using Baik.Interface.Framework;

namespace Baik.Expression
{
    public class TrueLiteral : BooleanExpression, Baik.Interface.Expression.ITrue
    {
        public TrueLiteral(IInjector inject) : base(inject)
        {
        }

        public override IObject Evaluate()
        {
            return Inject.Instantiate<Baik.Interface.Execution.ITrue>();
        }

        public override string AsString()
        {
            return "true";
        }
    }
}